package com.icss.mbb.pojo;

public class User {
//    用户编号 自增
    private Integer uid;
//    用户姓名
    private String uname;
//    用户密码
    private String upwd;
//    用户练习电话
    private String utel;
//    用户昵称 发起订单时显示的称呼,当用户没有填写昵称时显示为用户姓名
    private String unickname;
//    用户头像 存储图片名称(通过getTime生成图像)
    private String uphoto;
//    用户联系地址 订单发送的位置
    private String uaddr;
//    用户邮箱
    private String uemail;
//    用户在平台的钱包 可以充值支付订单
    private String uwallet;
//    用户绑定在平台的账户 当钱包余额不足时提示客户通过账户支付
    private String uaccount;

    public User() {
    }

    public User(String uname, String upwd, String utel, String unickname, String uphoto, String uaddr, String uemail, String uwallet, String uaccount) {
        this.uname = uname;
        this.upwd = upwd;
        this.utel = utel;
        this.unickname = unickname;
        this.uphoto = uphoto;
        this.uaddr = uaddr;
        this.uemail = uemail;
        this.uwallet = uwallet;
        this.uaccount = uaccount;
    }

    public User(Integer uid, String uname, String upwd, String utel, String unickname, String uphoto, String uaddr, String uemail, String uwallet, String uaccount) {
        this.uid = uid;
        this.uname = uname;
        this.upwd = upwd;
        this.utel = utel;
        this.unickname = unickname;
        this.uphoto = uphoto;
        this.uaddr = uaddr;
        this.uemail = uemail;
        this.uwallet = uwallet;
        this.uaccount = uaccount;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUtel() {
        return utel;
    }

    public void setUtel(String utel) {
        this.utel = utel;
    }

    public String getUnickname() {
        return unickname;
    }

    public void setUnickname(String unickname) {
        this.unickname = unickname;
    }

    public String getUphoto() {
        return uphoto;
    }

    public void setUphoto(String uphoto) {
        this.uphoto = uphoto;
    }

    public String getUaddr() {
        return uaddr;
    }

    public void setUaddr(String uaddr) {
        this.uaddr = uaddr;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public String getUwallet() {
        return uwallet;
    }

    public void setUwallet(String uwallet) {
        this.uwallet = uwallet;
    }

    public String getUaccount() {
        return uaccount;
    }

    public void setUaccount(String uaccount) {
        this.uaccount = uaccount;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upwd='" + upwd + '\'' +
                ", utel='" + utel + '\'' +
                ", unickname='" + unickname + '\'' +
                ", uphoto='" + uphoto + '\'' +
                ", uaddr='" + uaddr + '\'' +
                ", uemail='" + uemail + '\'' +
                ", uwallet='" + uwallet + '\'' +
                ", uaccount='" + uaccount + '\'' +
                '}';
    }
}
